package com.nofeng.wx.controller.stock.view;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class ChartPointView {

    /**
     * { name: '周最低', value: 12, xAxis:'Wed', yAxis: -1.5 ,itemStyle:{
     *           color:'#ffcc00'
     *         }  }
     */

    private String name;
    @JsonProperty("xAxis")
    private String xAxis;
    @JsonProperty("yAxis")
    private BigDecimal yAxis;
    private String value;

    @JsonProperty("itemStyle")
    private ListStyleView itemStyle;

    @JsonProperty("symbol")
    private String symbol;

    @JsonProperty("label")
    private LableView label;
}
